home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 February / PCWorld_2008-02_cd.bin / zabezpeceni / pctoolsantivirus / avinstall.exe / {app} / Language / Language.xsl < prev    next >
Extensible Markup Language  |  2007-09-17  |  4KB  |  122 lines

  1. <?xml version="1.0" encoding="UTF-16"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  3. <xsl:output method="html"></xsl:output>
  4. <xsl:template match= "/">
  5. <html>
  6.  <head>
  7.   <title>[2811]</title>                    <!-- AV_STR_LOG_REPORT ( 2811) -->
  8.     <table width="100%" border="0" cellspacing="0" cellpadding="0">
  9.        <tr>
  10.         <td colspan="2" bgcolor="#F4F4F4" valign="top">
  11.             <b>[2812]</b>        <!-- AV_STR_LOG_ACTIVITY_REPORT (2812) -->
  12.         </td>
  13.        </tr>
  14.       <tr>
  15.         <td width="20%" bgcolor="#F4F4F4" valign="top">
  16.             <b>[2813]</b>                            <!-- AV_STR_LOG_GENERATEDON (2813) -->
  17.         </td>
  18.         <td width="80%" bgcolor="#F4F4F4" valign="top"> <xsl:value-of select="//DateGenerated" /></td>
  19.        </tr>
  20.       </table>
  21.  </head>
  22.  <body>
  23.     <br/>
  24.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  25.       <caption align="left">[2814]</caption>        <!-- AV_STR_LOG_SCANINFORMATION (2814) -->
  26.       <tr>
  27.           <td width="100%" height="5" bgcolor="#0000FF" valign="top"></td>
  28.       </tr> 
  29.       </table> 
  30.       <br/> 
  31.       
  32.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  33.     <tr>
  34.     <td>
  35.       <table width="100%" border="0" cellspacing="0" cellpadding="0">
  36.     <tr height="10">
  37.         <td width="1%"></td>
  38.         <td width="49%"></td>
  39.         <td width="10%"></td>
  40.         <td width="10%"></td>
  41.         <td width="10%"></td>
  42.         <td width="10%"></td>
  43.     </tr>
  44.     <tr>
  45.         <td width="1%"></td>
  46.         <td width="49%">
  47.             <b>[2815]</b>            <!-- AV_STR_LOG_OBJECT_NAME (2815) -->
  48.         </td>
  49.         <td width="10%">
  50.             <b>[529]</b>            <!-- AV_STR_COL_STATUS (529) -->
  51.         </td>
  52.         <td width="10%">
  53.             <b>[530] </b>            <!-- AV_STR_COL_ACTION (530) -->
  54.         </td>
  55.         <td width="10%">
  56.             <b>[531]</b>            <!-- AV_STR_COL_INFECTION (531) -->
  57.         </td>
  58.         <td width="10%">
  59.             <b>[1250]</b>            <!-- AV_STR_COL_TIME (1250) -->
  60.         </td>
  61.     </tr>
  62.     <xsl:for-each select="//*">
  63.     <tr valign="top">
  64.         <td width="1%"></td>
  65.         <td width="49%"><xsl:value-of select="ObjectName" /></td>
  66.         <!-- translate current Status ID to related string -->
  67.         <xsl:if test="Status = 0">        <!-- ScanResult.Unknown -->
  68.             <td width="10%"></td>
  69.         </xsl:if>
  70.         <xsl:if test="Status = 1">        <!-- ScanResult.Infected: AV_STR_STATUS_INFECTED (532) -->
  71.             <td width="10%">[532]</td>
  72.         </xsl:if>
  73.         <xsl:if test="Status = 2">        <!-- ScanResult.Suspicious: AV_STR_STATUS_SUSPICIOUS (535) -->
  74.             <td width="10%">[535]</td>
  75.         </xsl:if>
  76.         <xsl:if test="Status = 3">        <!-- ScanResult.Disinfected: AV_STR_STATUS_INFECTED (532) -->
  77.             <td width="10%">[532]</td>
  78.         </xsl:if>
  79.         <xsl:if test="Status = 4">      <!-- ScanResult.Clean: AV_STR_STATUS_CLEAN (533) -->
  80.             <td width="10%">[533]</td>
  81.         </xsl:if>
  82.         <!-- translate current Action ID to related string -->
  83.         <xsl:if test="Action = 0">        <!-- OnInfectedAction.NoAction: AV_STR_SCAN_IGNORED (2802) -->
  84.             <td width="10%">[2802]</td>
  85.         </xsl:if>
  86.         <xsl:if test="Action = 1">        <!-- OnInfectedAction.Quarantined: AV_STR_STATUS_QUARANTINED (562) -->
  87.             <td width="10%">[562]</td>
  88.         </xsl:if>
  89.         <xsl:if test="Action = 2">      <!-- OnInfectedAction.Remove: AV_STR_STATUS_REMOVED (563) -->
  90.             <td width="10%">[563]</td>
  91.         </xsl:if>
  92.         <xsl:if test="Action = 3">        <!-- OnInfectedAction.PromptUser -->
  93.             <td width="10%"></td>
  94.         </xsl:if>
  95.         <xsl:if test="Action = 4">        <!-- OnInfectedAction.WarningOnly -->
  96.             <td width="10%"></td>
  97.         </xsl:if>
  98.         <xsl:if test="Action = 5">      <!-- OnInfectedAction.Disinfected: AV_STR_STATUS_DISINFECTED (534) -->
  99.             <td width="10%">[534]</td>
  100.         </xsl:if>
  101.         <xsl:if test="Action = 6">        <!-- OnInfectedAction.DeferDelete: AV_STR_DEFERREDDEL (625) -->
  102.             <td width="10%">[625]</td>  
  103.         </xsl:if>
  104.         <xsl:if test="Action = 7">        <!-- OnInfectedAction.Skipped: AV_STR_SCAN_IGNORED (2802) -->
  105.             <td width="10%">[2802]</td>
  106.         </xsl:if>
  107.         <xsl:if test="Action = 8">      <!-- OnInfectedAction.DisinfectRemoved: AV_STR_SCAN_DISINFECTREMOVED (2803) -->
  108.             <td width="10%">[2803]</td>
  109.         </xsl:if>
  110.         <td width="10%"><xsl:value-of select="Infection" /></td>
  111.         <td width="10%"><xsl:value-of select="Time" /></td>
  112.     </tr>
  113.     </xsl:for-each>
  114.     </table>
  115.     </td>
  116.     </tr>
  117.     </table>
  118.  
  119.  </body>
  120. </html>
  121. </xsl:template>
  122. </xsl:stylesheet>